package pjkanri.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "project")
public class Project implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	private Integer project_id;

	@Column
	private String project_name;

	@Column
	private String project_description;

	public Project() {
	}

	public Project(Integer project_id, String project_name,
			String project_description) {
		super();
		this.project_id = project_id;
		this.project_name = project_name;
		this.project_description = project_description;
	}

	/**
	 * @return the project_id
	 */
	public Integer getProject_id() {
		return project_id;
	}

	/**
	 * @param project_id
	 *            the project_id to set
	 */
	public void setProject_id(Integer project_id) {
		this.project_id = project_id;
	}

	public String getProject_name() {
		return project_name;
	}

	public void setProject_name(String project_name) {
		this.project_name = project_name;
	}

	public String getProject_description() {
		return project_description;
	}

	public void setProject_description(String project_description) {
		this.project_description = project_description;
	}

	// public static void insert(Project project) {
	// // TODO Auto-generated method stub
	// String sql = "INSERT INTO project VALUES (id, name, description)";
	// }

}
